package com.shiguiwu.springboot3.feign;

import com.shiguiwu.springboot3.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @description: url调用
 * @author: stone
 * @date: Created by 2023/7/30 21:27
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.feign
 */
@FeignClient(value = "systemClient",url = "http://127.0.0.1:8095")
public interface UserFeignUrlClient {

    @GetMapping("/user/test2")
    public R<Integer> test();
}
